package com.winhxd.b2c.message.sms.enums;

import com.winhxd.b2c.common.constant.SmsBwConstant;

/**
 * 短信发送供应商枚举
 */
public enum SmsSupplierEnum {

	/**
	 * 原译共享-百悟行业通知通道
	 * */
	outlet_verification_bw("bw", "hy0125", "yy1826","1069003213792", SmsBwConstant.MIXED_URL,"原译共享-百悟短信平台行业通道", SignatureEnum.OUTLET.getRemark());


	private String code;// 供应商代码

	private String url;// 请求地址

	private String account;//  账号

	private String pwd;// 密码

	private String businessCode;//业务代码

	private SmsSupplierEnum backup;// 备胎

	private String remark;// 描述

	private String signature;//签名

	SmsSupplierEnum(String code, String account, String pwd, String url, String remark) {
		this.code = code;
		this.remark = remark;
		this.url = url;
		this.account = account;
		this.pwd = pwd;
	}
	SmsSupplierEnum(String code,String account,String pwd,String businessCode,String url,String remark,String signature) {
		this.code = code;
		this.remark = remark;
		this.url = url;
		this.account = account;
		this.pwd = pwd;
		this.businessCode = businessCode;
		this.signature = signature;
	}




	public String getCode() {
		return code;
	}

	public String getRemark() {
		return remark;
	}

	public String getUrl() {
		return url;
	}

	public String getAccount() {
		return account;
	}

	public String getPwd() {
		return pwd;
	}

	public SmsSupplierEnum getBackup() {
		return backup;
	}

	public String getBusinessCode() {
		return businessCode;
	}

	public String getSignature() {
		return signature;
	}

	public static SmsSupplierEnum getSmsSupplierEnumByParam(String grp){
		return SmsSupplierEnum.outlet_verification_bw;

	}
}
